package com.jcfy.project.module.domain;

import java.math.BigDecimal;
import com.jcfy.framework.aspectj.lang.annotation.Excel;
import com.jcfy.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 账户对象 t_account
 *
 * @author jiangfeng
 * @date 2020-08-05
 */
public class TAccount extends BaseEntity {
    private static final long serialVersionUID=1L;

    /** 主键id */
    private Long accountId;

    /** 用户id */
    @Excel(name = "用户id" )
    private Long userId;

    /** 可提现余额 */
    @Excel(name = "可提现余额" )
    private BigDecimal canBalance;

    /** 待提现申请总金额 */
    @Excel(name = "待提现申请总金额" )
    private BigDecimal applyMoney;

    /** 待结算金额 */
    @Excel(name = "待结算金额" )
    private BigDecimal toBePresent;

    /** 总额 */
    @Excel(name = "总额" )
    private BigDecimal totalMoney;

    /** 历史提现总额 */
    @Excel(name = "历史提现总额" )
    private BigDecimal totalHistory;

    /** 状态 */
    @Excel(name = "状态" )
    private Integer status;

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public Long getAccountId() {
        return accountId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
    public void setCanBalance(BigDecimal canBalance) {
        this.canBalance = canBalance;
    }

    public BigDecimal getCanBalance() {
        return canBalance;
    }
    public void setApplyMoney(BigDecimal applyMoney) {
        this.applyMoney = applyMoney;
    }

    public BigDecimal getApplyMoney() {
        return applyMoney;
    }
    public void setToBePresent(BigDecimal toBePresent) {
        this.toBePresent = toBePresent;
    }

    public BigDecimal getToBePresent() {
        return toBePresent;
    }
    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }
    public void setTotalHistory(BigDecimal totalHistory) {
        this.totalHistory = totalHistory;
    }

    public BigDecimal getTotalHistory() {
        return totalHistory;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId" ,getAccountId())
            .append("userId" ,getUserId())
            .append("canBalance" ,getCanBalance())
            .append("applyMoney" ,getApplyMoney())
            .append("toBePresent" ,getToBePresent())
            .append("totalMoney" ,getTotalMoney())
            .append("totalHistory" ,getTotalHistory())
            .append("createTime" ,getCreateTime())
            .append("updateTime" ,getUpdateTime())
            .append("status" ,getStatus())
            .toString();
    }
}
